CVE-2024-45296
path-to-regexp outputs backtracking regular expressions
Description
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.
INFO
Published Date :
Sept. 9, 2024, 7:15 p.m.
Last Modified :
Jan. 24, 2025, 8:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2024-45296
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update affected packages to the latest version.
- Upgrade to the latest version of your web UI.
Public PoC/Exploit Available at Github
                                            CVE-2024-45296 has a 8 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-45296.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-45296 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-45296
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
detection of vulnerable packages - npm supply chain attack
Python
NPM3Guard is an advanced NPM package vulnerability scanner designed specifically for VAPT (Vulnerability Assessment and Penetration Testing) teams and cybersecurity professionals. It provides comprehensive security scanning of NPM dependencies across GitHub, GitLab, and Bitbucket repositories with enterprise-grade features.
Python
None
Smarty Shell
None
JavaScript
Итоговая работа
PHP Twig HTML
None
Dockerfile JavaScript
Starred Repositories Release Tracker
Allow plex to control Philips HUE via local web hook
JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-45296 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-45296 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Jan. 24, 2025 Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20250124-0001/ 
- 
                            CVE Received by [email protected]Sep. 09, 2024 Action Type Old Value New Value Added Description path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0. Added Reference GitHub, Inc. https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j [No types assigned] Added Reference GitHub, Inc. https://github.com/pillarjs/path-to-regexp/commit/29b96b4a1de52824e1ca0f49a701183cc4ed476f [No types assigned] Added Reference GitHub, Inc. https://github.com/pillarjs/path-to-regexp/commit/60f2121e9b66b7b622cc01080df0aabda9eedee6 [No types assigned] Added CWE GitHub, Inc. CWE-1333 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 
 
                         
                         
                         
                                             
                                            